<?php

namespace app\common\validate\Time;

// 引入tp的验证器
use think\Validate;

class Time extends Validate
{
    // 验证规则
    protected $rule = [
        'begin_time' => ['require'],
        'end_time' => ['require'],

    ];

    // 错误提示信息
    protected $message = [
        'begin_time.require' => '开始时间必填',
        'end_time.require' => '结束时间必填',
    ];

    // 验证场景
    protected $scene = [
    ];
}
